<?
// Add table global_messages
// 24.12.2002 (Version 2.10)
require("includes.php");

db_prepare($db_host,$db_name,$db_login,$db_password);

function db_test() {
  $err = mysql_errno();
  if($err != 0) {
    printf("%s<br>",mysql_error());
  }
} 

printf("%s","Patch starting<br>");

$rs = mysql_query("DROP TABLE global_messages;");
$rs = mysql_query("CREATE TABLE IF NOT EXISTS global_messages(".
		"f_id INT AUTO_INCREMENT PRIMARY KEY,".
		"f_TIMESTAMP TIMESTAMP,".
		"f_Status TEXT,".
		"f_Title TEXT,".
		"f_Content TEXT".
		");"); db_test();

printf("%s","Patch implemented<br>");

db_close();
?>
